package org.jeecg.common.util;

import java.lang.reflect.Field;

/**
 * @author gbstart
 * @create 2024-07-23 10:54
 */
public class FieldUtil {

    public static boolean isPropertyExist(Class<?> aClass, String propertyName) {
        try {
            Field declaredField = aClass.getDeclaredField(propertyName);
            return true;
        } catch (NoSuchFieldException e) {
            return false;
        }
    }
}
